package com.ruoyi.workflow.event;

import com.ruoyi.workflow.domain.WfCopy;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

import java.util.List;
import java.util.Map;


public class CompletEvent extends ApplicationEvent {


    public String taskDefinitionKey;
    /**
     * 流程变量map
     */
    public Map<String, Object> proInstVariables;

    public String businessKey;


    public CompletEvent(Object source, String taskDefinitionKey, Map<String, Object> proInstVariables, String businessKey) {
        super(source);
        this.businessKey = businessKey;
        this.taskDefinitionKey = taskDefinitionKey;
        this.proInstVariables = proInstVariables;

    }
}
